<?php


class CarregaBanner{
	
	var $db;
	var $tpl;
	
	function CarregaBanner($tmp_path,$js_path) {
		
		$this->db = new Persist;
		$this->tpl = new TemplatePower(@$tmp_path.'tmpl.CarregaBanner.html');
		
		$this->tpl->prepare();
		$this->tpl->assign('path',@$js_path.'libs.CarregaBanner.js');
	}
	
	function escreveHtml(){
		$this->tpl->newBlock("NOTICIAS");
		$this->tpl->newBlock("NOTICIAS");
		$this->tpl->newBlock("NOTICIAS");
		$this->tpl->newBlock("NOTICIAS");
		return $this->tpl->getOutputContent();
	}
}
?>